import request from '@/utils/request'

// 查询钱包流水列表
export function listWallet_flow(query) {
    return request({
        url: '/wallet/wallet_flow/list',
        method: 'get',
        params: query
    })
}

// 查询钱包流水详细
export function getWallet_flow(id) {
    return request({
        url: '/wallet/wallet_flow/' + id,
        method: 'get'
    })
}

// 新增钱包流水
export function addWallet_flow(data) {
    return request({
        url: '/wallet/wallet_flow',
        method: 'post',
        data: data
    })
}

// 修改钱包流水
export function updateWallet_flow(data) {
    return request({
        url: '/wallet/wallet_flow',
        method: 'put',
        data: data
    })
}

// 删除钱包流水
export function delWallet_flow(id) {
    return request({
        url: '/wallet/wallet_flow/' + id,
        method: 'delete'
    })
}

// 导出钱包流水
export function exportWallet_flow(query) {
    return request({
        url: '/wallet/wallet_flow/export',
        method: 'get',
        params: query
    })
}